<template>
	<view class="container">
		<view class="top-bg">
			<image src="./static/images/wallet-bg.png" mode=""></image>
			<view class="top-info flex-x-bet-y-center">
				<view class="">
					<view class="">余额（元）</view>
					<view class="balance">600.00</view>
				</view>
				<view class="detail-btn" @tap="$myUni.navTo('/pages/user/withdraw-list')">余额明细</view>
			</view>
		</view>
		
		<view class="withdraw">
			<SubmitBtn text="提现" @click="$myUni.navTo('/pages/user/withdraw')"></SubmitBtn>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
.top-bg{
	position: relative;
	margin: 30rpx;
	height: 300rpx;
	width: 690rpx;
	
	image{
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		height: 300rpx;
		width: 690rpx;
		z-index: 1;
	}
	
	.top-info{
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		height: 300rpx;
		width: 690rpx;
		z-index: 2;
		padding: 0 50rpx;
		font-weight: 500;
		font-size: 29rpx;
		color: #FFFFFF;
		box-sizing: border-box;
		
		.balance{
			padding-top: 30rpx;
			font-weight: 800;
			font-size: 69rpx;
			color: #FFFFFF;
		}
		
		.detail-btn{
			display: flex;
			align-items: center;
			justify-content: center;
			width: 173rpx;
			height: 58rpx;
			border-radius: 29rpx;
			border: 2px solid #FFFFFF;
		}
	}
}

.withdraw{
	margin: 150rpx 30rpx;
}
</style>
